home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 27 / 027.d81 / t.cursor demo < prev    next >
Encoding:
Text File  |  1986-01-01  |  1.4 KB  |  102 lines

  1.  
  2.  
  3.             CURSOR BYTER
  4.                  by
  5.               Ian Adam
  6.  
  7.  
  8. COMMODORE POWER/PLAY MAGAZINE
  9. August/September, 1986
  10.  
  11.  
  12.   Formatting your program screens
  13.  
  14. can often require repositioning the
  15.  
  16. cursor to different areas of the
  17.  
  18. screen several times.  Unfortunately,
  19.  
  20. positioning the cursor is sometimes a
  21.  
  22. not-so-simple task when you're dealing
  23.  
  24. with Commodore BASIC.
  25.  
  26.  
  27.   CURSOR BYTER gives you a routine
  28.  
  29. providing a useful command that
  30.  
  31. governs cursor positions.  With the
  32.  
  33. routine installed in your own program,
  34.  
  35. you can move the cursor to any
  36.  
  37. location, regardless of its present
  38.  
  39. location or any other material on the
  40.  
  41. screen.  The command works like a
  42.  
  43. normal BASIC command and merely
  44.  
  45. involves a SYS CRSR, row#, and
  46.  
  47. column#.
  48.  
  49.  
  50.   (CURSOR BYTER works by poking a very
  51.  
  52. small machine language routine into
  53.  
  54. the REM statement in the first line of
  55.  
  56. the program.  The demo that appears
  57.  
  58. when you run CURSOR BYTER demonstrates
  59.  
  60. the effects possible with this
  61.  
  62. program.)
  63.  
  64.  
  65. Important Notes:
  66.  
  67.  
  68. -- The row and column may be expressed
  69.  
  70. as numbers, variables, or any suitable
  71.  
  72. expression.
  73.  
  74.  
  75. -- The top row and left column are
  76.  
  77. numbered at zero.
  78.  
  79.  
  80. -- The bottom row and last column are
  81.  
  82. 24 and 39-- larger values should not
  83.  
  84. be specified.
  85.  
  86.  
  87. -- A row value must be given or you
  88.  
  89. will get an error.
  90.  
  91.  
  92. -- The column value may be deleted if
  93.  
  94. it is zero.
  95.  
  96.  
  97. DISK FILES USED:
  98.  
  99. CURSOR DEMO       CURSOR-1
  100.  
  101. -----------< end of text >------------
  102.